import {param2Obj} from '@/utils'

const userList = [
  {
    username:'二狗',
    name:'二狗',
    roleName:'2',
    created_at:'2018-01-01',
    updated_at:'2018-01-01'
  },
  {
    username:'狗蛋',
    name:'狗蛋',
    roleName:'1',
    created_at:'2018-01-01',
    updated_at:'2018-01-01'
  },
]

export default {
  getUserList: config => {
    // const { username } = JSON.parse(config.body)
    return {
      data:{
        list:userList,

      },

    }
  },
}
